/**
 * @Author:  renyc
 * @Date: 2022年12月1日14:55:36
 */
'use strict';

import * as Cesium from 'cesium/Cesium';

import Event from "./Event";
import {OverlayEventType} from "./EventType";

class OverlayEvent extends Event{

    constructor(){
        super();
    }

    /**
     * 注册Layer相关的事件，Override基类的方法
     */
    _registerEvents(){
        Object.keys(OverlayEventType).forEach(key=>{
            let type = OverlayEventType[key];
            this._cache[type] = new Cesium.Event();
        })
    }

}

export default OverlayEvent
